<div id="test9" class="demo-tree demo-tree-box">
</div>
<div style="float: right;padding: 50px 300px 0 0;">
    <form class="layui-form" id="addChildren" action="">
        <fieldset class="layui-elem-field layui-field-title" style="margin-top: 30px;">
            <legend>创建子节点</legend>
        </fieldset>
        <div class="layui-form-item">
            <label class="layui-form-label">模块名称</label>
            <div class="layui-input-inline">
                <input type="text" name="title" required lay-verify="required" placeholder="请输入标题" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">父模块id</label>
            <div class="layui-input-inline">
                <input type="text" name="parentid" id="Addparentid" readonly="readonly" required lay-verify="required" placeholder="请输入标题" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">模块对应的路径</label>
            <div class="layui-input-inline">
                <input type="text" name="path" required lay-verify="required" placeholder="请输入标题" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">权重</label>
            <div class="layui-input-inline">
                <input type="text" name="weight" required lay-verify="required" placeholder="请输入标题" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <div class="layui-input-block">
                <input type="button" lay-submit lay-filter="formDemo" value="立即提交" class="layui-btn">
                <button type="reset" class="layui-btn layui-btn-primary">重置</button>
            </div>
        </div>
    </form>
</div>
<!--树状图修改操作表单-->
<div style="float: right;padding: 50px 30px 0 0;">
    <form class="layui-form" id="updateChildren" lay-filter="updateform" action="">
        <fieldset class="layui-elem-field layui-field-title" style="margin-top: 30px;">
            <legend>修改子节点</legend>
        </fieldset>
        <div class="layui-form-item">
            <label class="layui-form-label">模块id</label>
            <!--设置为只读-->
            <div class="layui-input-inline">
                <input type="text" name="id" id="id" readonly="readonly" required lay-verify="required" placeholder="请输入标题" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">父模块id</label>
            <div class="layui-input-inline">
                <input type="text" name="parentid" id="updateparentId" required lay-verify="required" placeholder="请输入标题" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">模块名称</label>
            <div class="layui-input-inline">
                <input type="text" name="title" id="title" required lay-verify="required" placeholder="请输入标题" autocomplete="off" class="layui-input">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">模块对应的路径</label>
            <div class="layui-input-inline">
                <input type="text" name="path" id="href" required lay-verify="required" placeholder="请输入标题" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">权重</label>
            <div class="layui-input-inline">
                <input type="text" name="weight" id="updateweight" required lay-verify="required" placeholder="请输入标题" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <div class="layui-input-block">

                <input type="button" lay-submit lay-filter="updateformDemo" value="立即提交" class="layui-btn">
                <button type="reset" class="layui-btn layui-btn-primary">重置</button>
            </div>
        </div>
    </form>
</div>